3.3.43 \(\int \frac {(a x^2+b x^3)^{3/2}}{x} \, dx\) [243]

Optimal. Leaf size=80 \[ \frac {16 a^2 \left (a x^2+b x^3\right )^{5/2}}{315 b^3 x^5}-\frac {8 a \left (a x^2+b x^3\right )^{5/2}}{63 b^2 x^4}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{9 b x^3} \]

[Out]

16/315*a^2*(b*x^3+a*x^2)^(5/2)/b^3/x^5-8/63*a*(b*x^3+a*x^2)^(5/2)/b^2/x^4+2/9*(b*x^3+a*x^2)^(5/2)/b/x^3

________________________________________________________________________________________

Rubi [A]
time = 0.09, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {2041, 2039} \begin {gather*} \frac {16 a^2 \left (a x^2+b x^3\right )^{5/2}}{315 b^3 x^5}-\frac {8 a \left (a x^2+b x^3\right )^{5/2}}{63 b^2 x^4}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{9 b x^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a*x^2 + b*x^3)^(3/2)/x,x]

[Out]

(16*a^2*(a*x^2 + b*x^3)^(5/2))/(315*b^3*x^5) - (8*a*(a*x^2 + b*x^3)^(5/2))/(63*b^2*x^4) + (2*(a*x^2 + b*x^3)^(
5/2))/(9*b*x^3)

Rule 2039

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[(-c^(j - 1))*(c*x)^(m - j
 + 1)*((a*x^j + b*x^n)^(p + 1)/(a*(n - j)*(p + 1))), x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] &&
 NeQ[n, j] && EqQ[m + n*p + n - j + 1, 0] && (IntegerQ[j] || GtQ[c, 0])

Rule 2041

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[c^(j - 1)*(c*x)^(m - j +
1)*((a*x^j + b*x^n)^(p + 1)/(a*(m + j*p + 1))), x] - Dist[b*((m + n*p + n - j + 1)/(a*c^(n - j)*(m + j*p + 1))
), Int[(c*x)^(m + n - j)*(a*x^j + b*x^n)^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && NeQ[
n, j] && ILtQ[Simplify[(m + n*p + n - j + 1)/(n - j)], 0] && NeQ[m + j*p + 1, 0] && (IntegersQ[j, n] || GtQ[c,
 0])

Rubi steps

\begin {align*} \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x} \, dx &=\frac {2 \left (a x^2+b x^3\right )^{5/2}}{9 b x^3}-\frac {(4 a) \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x^2} \, dx}{9 b}\\ &=-\frac {8 a \left (a x^2+b x^3\right )^{5/2}}{63 b^2 x^4}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{9 b x^3}+\frac {\left (8 a^2\right ) \int \frac {\left (a x^2+b x^3\right )^{3/2}}{x^3} \, dx}{63 b^2}\\ &=\frac {16 a^2 \left (a x^2+b x^3\right )^{5/2}}{315 b^3 x^5}-\frac {8 a \left (a x^2+b x^3\right )^{5/2}}{63 b^2 x^4}+\frac {2 \left (a x^2+b x^3\right )^{5/2}}{9 b x^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 47, normalized size = 0.59 \begin {gather*} \frac {2 x (a+b x)^3 \left (8 a^2-20 a b x+35 b^2 x^2\right )}{315 b^3 \sqrt {x^2 (a+b x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a*x^2 + b*x^3)^(3/2)/x,x]

[Out]

(2*x*(a + b*x)^3*(8*a^2 - 20*a*b*x + 35*b^2*x^2))/(315*b^3*Sqrt[x^2*(a + b*x)])

________________________________________________________________________________________

Maple [A]
time = 0.36, size = 46, normalized size = 0.58

method result size
gosper \(\frac {2 \left (b x +a \right ) \left (35 b^{2} x^{2}-20 a b x +8 a^{2}\right ) \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}}}{315 b^{3} x^{3}}\) \(46\)
default \(\frac {2 \left (b x +a \right ) \left (35 b^{2} x^{2}-20 a b x +8 a^{2}\right ) \left (b \,x^{3}+a \,x^{2}\right )^{\frac {3}{2}}}{315 b^{3} x^{3}}\) \(46\)
risch \(\frac {2 \sqrt {x^{2} \left (b x +a \right )}\, \left (35 b^{4} x^{4}+50 a \,b^{3} x^{3}+3 a^{2} b^{2} x^{2}-4 a^{3} b x +8 a^{4}\right )}{315 x \,b^{3}}\) \(61\)
trager \(\frac {2 \left (35 b^{4} x^{4}+50 a \,b^{3} x^{3}+3 a^{2} b^{2} x^{2}-4 a^{3} b x +8 a^{4}\right ) \sqrt {b \,x^{3}+a \,x^{2}}}{315 b^{3} x}\) \(63\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^3+a*x^2)^(3/2)/x,x,method=_RETURNVERBOSE)

[Out]

2/315*(b*x+a)*(35*b^2*x^2-20*a*b*x+8*a^2)*(b*x^3+a*x^2)^(3/2)/b^3/x^3

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 53, normalized size = 0.66 \begin {gather*} \frac {2 \, {\left (35 \, b^{4} x^{4} + 50 \, a b^{3} x^{3} + 3 \, a^{2} b^{2} x^{2} - 4 \, a^{3} b x + 8 \, a^{4}\right )} \sqrt {b x + a}}{315 \, b^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^3+a*x^2)^(3/2)/x,x, algorithm="maxima")

[Out]

2/315*(35*b^4*x^4 + 50*a*b^3*x^3 + 3*a^2*b^2*x^2 - 4*a^3*b*x + 8*a^4)*sqrt(b*x + a)/b^3

________________________________________________________________________________________

Fricas [A]
time = 1.24, size = 62, normalized size = 0.78 \begin {gather*} \frac {2 \, {\left (35 \, b^{4} x^{4} + 50 \, a b^{3} x^{3} + 3 \, a^{2} b^{2} x^{2} - 4 \, a^{3} b x + 8 \, a^{4}\right )} \sqrt {b x^{3} + a x^{2}}}{315 \, b^{3} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^3+a*x^2)^(3/2)/x,x, algorithm="fricas")

[Out]

2/315*(35*b^4*x^4 + 50*a*b^3*x^3 + 3*a^2*b^2*x^2 - 4*a^3*b*x + 8*a^4)*sqrt(b*x^3 + a*x^2)/(b^3*x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{2} \left (a + b x\right )\right )^{\frac {3}{2}}}{x}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**3+a*x**2)**(3/2)/x,x)

[Out]

Integral((x**2*(a + b*x))**(3/2)/x, x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 173 vs. \(2 (68) = 136\).
time = 1.87, size = 173, normalized size = 2.16 \begin {gather*} -\frac {16 \, a^{\frac {9}{2}} \mathrm {sgn}\left (x\right )}{315 \, b^{3}} + \frac {2 \, {\left (\frac {21 \, {\left (3 \, {\left (b x + a\right )}^{\frac {5}{2}} - 10 \, {\left (b x + a\right )}^{\frac {3}{2}} a + 15 \, \sqrt {b x + a} a^{2}\right )} a^{2} \mathrm {sgn}\left (x\right )}{b^{2}} + \frac {18 \, {\left (5 \, {\left (b x + a\right )}^{\frac {7}{2}} - 21 \, {\left (b x + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{2} - 35 \, \sqrt {b x + a} a^{3}\right )} a \mathrm {sgn}\left (x\right )}{b^{2}} + \frac {{\left (35 \, {\left (b x + a\right )}^{\frac {9}{2}} - 180 \, {\left (b x + a\right )}^{\frac {7}{2}} a + 378 \, {\left (b x + a\right )}^{\frac {5}{2}} a^{2} - 420 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{3} + 315 \, \sqrt {b x + a} a^{4}\right )} \mathrm {sgn}\left (x\right )}{b^{2}}\right )}}{315 \, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^3+a*x^2)^(3/2)/x,x, algorithm="giac")

[Out]

-16/315*a^(9/2)*sgn(x)/b^3 + 2/315*(21*(3*(b*x + a)^(5/2) - 10*(b*x + a)^(3/2)*a + 15*sqrt(b*x + a)*a^2)*a^2*s
gn(x)/b^2 + 18*(5*(b*x + a)^(7/2) - 21*(b*x + a)^(5/2)*a + 35*(b*x + a)^(3/2)*a^2 - 35*sqrt(b*x + a)*a^3)*a*sg
n(x)/b^2 + (35*(b*x + a)^(9/2) - 180*(b*x + a)^(7/2)*a + 378*(b*x + a)^(5/2)*a^2 - 420*(b*x + a)^(3/2)*a^3 + 3
15*sqrt(b*x + a)*a^4)*sgn(x)/b^2)/b

________________________________________________________________________________________

Mupad [B]
time = 5.18, size = 47, normalized size = 0.59 \begin {gather*} \frac {2\,\sqrt {b\,x^3+a\,x^2}\,{\left (a+b\,x\right )}^2\,\left (8\,a^2-20\,a\,b\,x+35\,b^2\,x^2\right )}{315\,b^3\,x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^2 + b*x^3)^(3/2)/x,x)

[Out]

(2*(a*x^2 + b*x^3)^(1/2)*(a + b*x)^2*(8*a^2 + 35*b^2*x^2 - 20*a*b*x))/(315*b^3*x)

________________________________________________________________________________________